package com.cx.mall.api.order;

import com.cx.mall.common.entity.order.entity.OrderInfo;
import com.cx.mall.common.util.ResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-order-service")
public interface OrderInfoFeign {
    @PutMapping("/order/orderInfo/update")
    public ResponseVo update(@RequestBody OrderInfo orderInfo);
}
